import { Tag } from 'antd-mobile'
import React from 'react'
interface Props {
    tags: string[]
}

const Tags: React.FC<Props> = ({ tags = [] }) => {
    return (
        <div>
            {tags.map((tag, index) => (
                <Tag key={index}>{tag}</Tag>
            ))}
        </div>
    )
}

export default Tags
